//
//  MYMyNotificationCell.m
//  MuYing
//
//  Created by tbb on 2019/8/7.
//  Copyright © 2019 TBB. All rights reserved.
//

#import "MYMyNotificationCell.h"
#import "MYMyNotificationModel.h"
@implementation MYMyNotificationCell
-(void)setNotModel:(MYMyNotificationModel *)notModel {
    _notModel = notModel;
    self.titleLb.text = notModel.title;
    self.subLb.text = notModel.content;
    self.timeLb.text = notModel.notificationTime;
    self.redView.hidden = notModel.isState;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    self.redView.layer.cornerRadius = 4;
    self.redView.clipsToBounds = true;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
